<?php
/**
Extension Name: DB Session
Extension Url: http://lussumo.com/addons/?PostBackAction=AddOn&Success=1&AddOnID=416
Description: Use the database for session storage.
Version: 0.2.0
Author: Damien Lebrun
Author Url: http://lussumo.com/community/account/2469/
 *
 * @copyright @@AUTHOR@@ @@YEAR@@
 * @package Extensions
 * @subpackage DbSession
 * @license  @@LICENCE_URL@@ @@LICENCE@@
 *
 * $Id: default.php 322 2008-10-11 13:03:00Z dinoboff $
 * $HeadURL: http://vanilla-friends.googlecode.com/svn/trunk/DbSession/default.php $
 */

if (!defined('IN_VANILLA')) exit();
global $Context, $Configuration;

if (array_key_exists('DBSESSION_ZEND_FRAMEWORK_PATH_TO_INCLUDE', $Configuration)) {
	set_include_path(get_include_path()
		. PATH_SEPARATOR
		. $Configuration['DBSESSION_ZEND_FRAMEWORK_PATH_TO_INCLUDE']);
}

include 'library/function.php';

DbSession_Setup($Context, '0.2.0');